package unit_4;

public class Person {
    public String name;
    public int age;
    public String getName(){
        return name;
    }
    public int getAge(){
        return age;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setAge(int age){
        this.age = age;
    }
    public void speak(){
        System.out.println("name " + name);
        System.out.println("age " + age);
    }
}
